<h2><?php echo $this->description ?></h2>

<h3>Actions</h3>
<a href="<?php echo $this->baseURL() ?>/fop/<?php echo $this->tableName ?>/<?php echo $this->foplineName ?>/edit/">Edit message</a> - <a href="<?php echo $this->baseURL() ?>/fop/<?php echo $this->tableName ?>/<?php echo $this->foplineName ?>/history/">View message history</a>


<?php
$structure = $this->data['message']['message']['structure'];
if(!empty($structure)) {
	
?>
<h3>Structure</h3>

<?php
foreach($structure as $num => $elem) {
echo '<h4>'.$elem['displayName'].'</h4>';	
}

?>


<?php
} //end structure not empty
?>

<h3>FOP Table Line</h3>

<p><?php echo htmlspecialchars  ( $this->data['FOPTableLine']) ?></p>


<h3>FOP Regular Expression</h3>

<p><?php echo htmlspecialchars  ( $this->data['FOPRegularExpression']) ?></p>


<h3>Test cryptic entry</h3>

<form action="<?php echo $this->baseUrl() ?>/fop/index/testapi/foplineName/<?php echo $this->foplineName ?>/tableName/<?php echo $this->tableName ?>/" id="testAPIForm" method="POST">
<input type="text" name="crypticInput" id="crypticInput"></input>
<input type="submit" onclick="YAHOO.draftrack.fop.testapi.testAPICall(this);return false;" value="Test" />
</form>

<h3>Test cryptic result</h3>


<iframe id="testAPIResponse" src=""></iframe>